import dayjs from "dayjs";
import * as Pinia from 'pinia';
import { Request } from '@/util/request/index'
import uvUI from '@/uni_modules/uv-ui-tools'
import {
	createSSRApp
} from "vue";
import App from "./App.vue";
export function createApp() {
	const app = createSSRApp(App);
	app.use(uvUI);
	app.config.globalProperties.$dayjs = dayjs
	Request(app);
	app.use(Pinia.createPinia());
	return {
		app,
	};
}
